home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
comm
/
bbs
/
cddc_12.lha
/
cddc.doc
< prev
Wrap
Text File
|
1995-10-19
|
4KB
|
112 lines
Short: StdIO-Door for CD-Roms - easy to use
Author: marc_albrecht@act.ohz.north.de
Type: comm/bbs
Version: 1.21
Long:
Usage: start cddc with this template:
cddc Device/A Dir/K
You have to give a DEVICE - e.g. "CD0:" - from which Cddc shall read. There
is not much more to be said about this one.
If you have a readymade directory file you can very much speed up Cddc. A
directory file contains all pathes to directories the user may have access
to. This way you can also exclude certain pathes from the user's access
since Cddc only respects those directories given in a directory file. If
you do not supply such a file, ALL directories on the "Device" can be
accessed!
There is a further advantage in using directory-files: if the path to the
directory is followed by an asterik ("*") and a filename, Cddc will use
this file IN the preceeding directory when displaying the filelist from
which the user can choose the files to download.
Example:
.........cut............
cd0:aminet/comm/bbs *files.bbs
cd0:aminet/comm/misc *files.bbs
cd0:aminet/comm/fido
.........cut............
This would allow the user to access the directories "comm/bbs", "comm/misc"
and "comm/fido" on an aminet-cd, where "bbs" and "misc" have their
"files.bbs" which include descriptions to the files in the directory. In
"fido" all descriptions will display "-no description-" since no
"files.bbs" is specified.
NOTE: You have to make sure the supplied files.bbs (or whatever) has no
"header" or "footer" - just lines starting with the filename, followed by
at least ONE SPACE and whatever is wanted else (filelengthes, descriptions
or what else). Aminet-"files.bbs" are fine.
NOTE: Directory-files have to include the device and the full pathes to the
directories - adressing must be absolute, not relative!
New in V1.2
-----------
If your BBS-Files Comment is again followed by a '#' you can specify which
part of the files.bbs-File shall be printed out on the screen. How?
As an example we set:
.........cut...........
cd0:aminet/comm/bbs *files.bbs#0-16,25-0
.........cut...........
This would take the first 17 (!) characters of each line as the file's
name, and starting from column 25 the comment till line's end.
That means: you always have to give PAIRS of numbers, each pair parted by
a minus ('-'), pairs seperated by a comma (','). The first number of each
pair tells CDDC the start-column of the block, the second number of each
pair tells CDDC the end-column of the block. If the end number is 0, the
rest of the line will be used.
So a normal set up would be, given a files.bbs like this:
.........cut...........
foo.lha 1.2M 12-10-94 This is something totaly useless
.........cut...........
something like this:
.........cut...........
zd0:files/foodir *files.bbs#0-12,28-0
.........cut...........
This would take the file's name (you NEED this as first part), leave out
the file's size (since this is calculated by CDDC anyway) and the date
and print out the explanation ("This is something....").
This way you SHOULD be able to use files.bbs from other formats as well as
"normal" Aminet-ones.
Results:
--------
Cddc can be ended by sending a CTRL_C to it or by the user via it's menus.
A file "ram:cddc.batch" has been generated - if the user marked files. You
can even pass a "ram:cddc.batch" to cddc - simply have it ready when
starting cddc. The files included (full pathes!) will then be included in
the batch and can also be deleted by the batch-editor.
Bugs:
-----
I have tested Cddc and found no SERIOUS bug. If you do encounter one,
please let me know.
Author:
-------
I can be reached via "root@act.ohz.north.de" or FidoNet 2:241/205 -
FidoNet adresses tend to change! Have a look into the actual NodeList or
use E-Mail.
Please note that my name has changed (former Marc Fuehrer) due to my
marriage.
P.S.
----
I will continue working on Cddc since there are still options to include. I
am planning to restrict access to certain directories via user-levels,
maybe even with passwords (I HATE passwords :-) )
I would be happy to receive mail, suggestions, gifts - but besides of this
(are there people WILLING to use this software?) Cddc is FREEWARE and may
be copied, used, resold without making ANY profit of it.